<form class="layui-form" method="post" action="{:url('admin/recode/save')}"> <!-- 提示：如果你不想用form，你可以换成div等任何一个普通元素 -->
    <div class="layui-form-item">
        <label class="layui-form-label">域名前缀</label>
        <div class="layui-input-block">
            <input type="text" name="recode[sub]" placeholder="域名前缀" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">选择域名</label>
        <div class="layui-input-block">
            <select name="recode[domain]" lay-filter="aihao">
                <option value="fuckyour.xyz">fuckyour.xyz</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">记录类型</label>
        <div class="layui-input-block">
            <select name="recode[type]" lay-filter="aihao">
                <option value="A">记录类型（默认A记录）</option>
                <option value="A">A记录</option>
                <option value="CNAME">CNAME记录</option>
            </select>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">转发地址/ip</label>
        <div class="layui-input-block">
            <input type="text" name="recode[recode]" placeholder="域名前缀" autocomplete="off" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-input-block">
            <button class="layui-btn" lay-submit lay-filter="submit">立即提交</button>
            <button type="reset" class="layui-btn layui-btn-primary">重置</button>
        </div>
    </div>
</form>